package com.qingke.pms.pojo;

import java.util.Date;
import java.util.List;

public class PurchaseOrder {
    private Integer id;

    private String code;

    private String description;

    private Integer projectId;

    private Integer purchasePlanId;

    private Integer status;

    private Integer lastModifiedPersonId;

    private Date lasModifiedTime;

    private Project project;
    
    private PurchasePlan purchasePlan;
    
    private PurchaseOrderStatus purchaseOrderStatus;
    
    private User lastModifiedPerson;
    
    private List<PurchaseOrderMaterialList> purchaseOrderMaterialLists;
    
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public Integer getPurchasePlanId() {
        return purchasePlanId;
    }

    public void setPurchasePlanId(Integer purchasePlanId) {
        this.purchasePlanId = purchasePlanId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getLastModifiedPersonId() {
        return lastModifiedPersonId;
    }

    public void setLastModifiedPersonId(Integer lastModifiedPersonId) {
        this.lastModifiedPersonId = lastModifiedPersonId;
    }

    public Date getLasModifiedTime() {
        return lasModifiedTime;
    }

    public void setLasModifiedTime(Date lasModifiedTime) {
        this.lasModifiedTime = lasModifiedTime;
    }

	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}

	public PurchasePlan getPurchasePlan() {
		return purchasePlan;
	}

	public void setPurchasePlan(PurchasePlan purchasePlan) {
		this.purchasePlan = purchasePlan;
	}

	public PurchaseOrderStatus getPurchaseOrderStatus() {
		return purchaseOrderStatus;
	}

	public void setPurchaseOrderStatus(PurchaseOrderStatus purchaseOrderStatus) {
		this.purchaseOrderStatus = purchaseOrderStatus;
	}

	public User getLastModifiedPerson() {
		return lastModifiedPerson;
	}

	public void setLastModifiedPerson(User lastModifiedPerson) {
		this.lastModifiedPerson = lastModifiedPerson;
	}

	public List<PurchaseOrderMaterialList> getPurchaseOrderMaterialLists() {
		return purchaseOrderMaterialLists;
	}

	public void setPurchaseOrderMaterialLists(List<PurchaseOrderMaterialList> purchaseOrderMaterialLists) {
		this.purchaseOrderMaterialLists = purchaseOrderMaterialLists;
	}
    
    
}